package o;

import androidx.annotation.NonNull;

public class bkt {
    @NonNull
    public static <T> T ˋ(@NonNull String str, @NonNull Class<T> cls) {
        fhz ˋ = fho.ˏ().ˋ(str);
        if (ˋ == null) {
            throw new RuntimeException("Not found module: " + str);
        }
        T ॱ = ˋ.ॱ((Class) cls);
        if (ॱ != null) {
            return ॱ;
        }
        throw new RuntimeException("Fail to create module: " + str);
    }

    @NonNull
    public static fjb ॱ(@NonNull String str, @NonNull String str2) {
        fhz ˋ = fho.ˏ().ˋ(str);
        if (ˋ == null) {
            throw new RuntimeException("Not found module: " + str);
        }
        fjb ˎ = ˋ.ˎ(str2);
        if (ˎ != null) {
            return ˎ;
        }
        throw new RuntimeException("Fail to create ui-module: " + str);
    }
}
